import os
import argparse

from parse import ParseFile
from writer import DotWriter

parser = argparse.ArgumentParser(description="test")
parser.add_argument('files', nargs="+")
args = parser.parse_args()

p = ParseFile('')

res = p.parseFile(args.files)

dot = DotWriter(res)
dot.toDot()

os.system('dot haha.dot -Tpng -O')
